package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Document(collection = "UserTest")
public class UserTest implements java.io.Serializable{
    private ObjectId id;
    private Long userId; //用户Id
    private String testId;//测试题Id;

    public UserTest(Long userId, String testId) {
        this.userId = userId;
        this.testId = testId;
    }
}
